package com.book.oauth.server.user.entity;

import com.book.modules.core.entity.DataEntity;
import java.util.Date;
import java.math.BigDecimal;
import java.io.Serializable;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;

/**
 * Description：用户角色关联 Entity
 * @Author： leo
 * @CreateDate： 2020-12-31
 * @Email： leo.xiong@suyun360.com
 * Version: 1.0
 */
@Data
@TableName("t_user_role")
@EqualsAndHashCode(callSuper = true)
public class UserRole extends DataEntity<UserRole> implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户ID
    **/
    @TableField("user_id")
    private Long userId;
    /**
     * 角色ID
    **/
    @TableField("role_id")
    private Long roleId;
}
